package com.hrm.model.dto.code;

import java.io.Serializable;
import java.sql.Date;

public class CodeDTO implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 3511800192993860893L;
	String code;
	String detailcode;
	String createdate;
	String destroydate;
	String kind;
	String codename;
	public CodeDTO() {
		super();
	}
	public CodeDTO(String code, String detailcode, String createdate,
			String destroydate, String kind, String codename) {
		super();
		this.code = code;
		this.detailcode = detailcode;
		this.createdate = createdate;
		this.destroydate = destroydate;
		this.kind = kind;
		this.codename = codename;
	}
	@Override
	public String toString() {
		return "CodeDTO [code=" + code + ", codename=" + codename
				+ ", createdate=" + createdate + ", destroydate=" + destroydate
				+ ", detailcode=" + detailcode + ", kind=" + kind + "]";
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getDetailcode() {
		return detailcode;
	}
	public void setDetailcode(String detailcode) {
		this.detailcode = detailcode;
	}
	public String getCreatedate() {
		return createdate;
	}
	public void setCreatedate(String createdate) {
		this.createdate = createdate;
	}
	public String getDestroydate() {
		return destroydate;
	}
	public void setDestroydate(String destroydate) {
		this.destroydate = destroydate;
	}
	public String getKind() {
		return kind;
	}
	public void setKind(String kind) {
		this.kind = kind;
	}
	public String getCodename() {
		return codename;
	}
	public void setCodename(String codename) {
		this.codename = codename;
	}
	
}
